package com.qianli.cashmama.product.server.dao;
import com.fqgj.common.api.Page;
import com.fqgj.common.base.BaseMapper;
import com.qianli.cashmama.product.server.entity.AppBusinessProductEntity;

import java.util.List;
import java.util.Map;

/**
* User: frank
* Date: 2020-02-17
* Time: 16:17:58.264
*/

public interface AppBusinessProductDao extends BaseMapper<AppBusinessProductEntity> {

    List<AppBusinessProductEntity> getAppBusinessProductList(Map<String, Object> paramMap);

    List<AppBusinessProductEntity> getAppBusinessProductListByPosition(Integer position);
    List<AppBusinessProductEntity> getAppBusinessProductListByPositionAndId(Integer position, Long businessProductId);

    List<AppBusinessProductEntity> getAppBusinessProductListByPage(Map<String, Object> paramMap, Page page);

    Integer queryAppBusinessProductCount(Map<String, Object> paramMap);
}